import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

export default new Router({
    routes: [
        //学生成绩查询
        {
            path: '/',
            name: '学生成绩查询',
            component: resolve => require(['@/view/index'], resolve),
        },
        //教师查询页面
        {
            path: '/tc',
            name: '教师查询页面',
            component: resolve => require(['@/view/index_tc'], resolve),
        },
    ]
})